package org.yanghaokun.order.service;

import org.yanghaokun.basic.service.IBaseService;
import org.yanghaokun.basic.util.PageList;
import org.yanghaokun.order.domain.AdoptOrder;
import org.yanghaokun.order.query.AdoptOrderQuery;
import org.yanghaokun.user.domain.LoginInfo;

import java.util.Map;

public interface IAdoptOrderService extends IBaseService<AdoptOrder> {
    String submit(Map<String, Object> params, LoginInfo loginInfo);

    PageList<AdoptOrder> queryAdminOrder(AdoptOrderQuery adoptOrderQuery, LoginInfo loginInfo);

    PageList<AdoptOrder> queryUserOrder(AdoptOrderQuery adoptOrderQuery, LoginInfo loginInfo);

    void cancleById(Long orderId);
}
